home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / c-lang / strmc105.lha / StormC-Demo / INCLUDE / clib / battmem_protos.h < prev    next >
C/C++ Source or Header  |  1996-01-02  |  760b  |  38 lines

  1. #ifndef  CLIB_BATTMEM_PROTOS_H
  2. #define  CLIB_BATTMEM_PROTOS_H
  3.  
  4. /*
  5. **    $VER: battmem_protos.h 1.5 (4.3.91)
  6. **    Includes Release 40.15
  7. **
  8. **    C prototypes. For use with 32 bit integers only.
  9. **
  10. **    (C) Copyright 1990-1993 Commodore-Amiga, Inc.
  11. **        All Rights Reserved
  12. */
  13.  
  14. #ifndef  EXEC_TYPES_H
  15. #include <exec/types.h>
  16. #endif
  17.  
  18. #ifdef __cplusplus
  19. extern "C" {
  20. #endif
  21.  
  22. void ObtainBattSemaphore( void );
  23. void ReleaseBattSemaphore( void );
  24. ULONG ReadBattMem( APTR buffer, unsigned long offset, unsigned long length );
  25. ULONG WriteBattMem( APTR buffer, unsigned long offset, unsigned long length );
  26.  
  27. #ifdef __cplusplus
  28. }
  29. #endif
  30.  
  31. #ifdef STORMPRAGMAS
  32. #ifndef _INCLUDE_PRAGMA_BATTMEM_LIB_H
  33. #include <pragma/battmem_lib.h>
  34. #endif
  35. #endif
  36.  
  37. #endif     /* CLIB_BATTMEM_PROTOS_H */
  38.